package com.mq.feign;

import com.common.entity.Programme;
import com.common.entity.Rsp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(name = "plan",fallback = ProgrammeFeignFallback.class)
public interface ProgrammeFeign {

    /**
     * @ClassName
     * @Description : 查询所有方案
     * @param :
     * @Return :
     * @Author : 汪雄
     * @Date :
     */
    @PostMapping("searchAllProgramme")
    List<Programme> searchAllProgramme();

}
